<?php
/*
 * Filename: plugin/base/cms/users/content.php
 *
 * Stage 1 implies that no database configuration file has been created yet,
 * and in this stage such a file will be created.
 * The file will be created only after an initial connection has been made
 * and been verified as working.
 *
 * The database connection file is only created once the connection is tested
 * and working.
 *
 * TODO: make sure PDO is available and if not only support MySQL
 *
 */
?>

<h2>Manage User Accounts</h2>
<h5><p>This tabs allows the creation, deletion and modifications of user accounts.
        The user/password combination submitted can be used to log in to the
        content manager.</p><p>
        Depending on permission level you are either restricted to modifying own
        user account or are enabled to modify accounts belonging to others.
    </p></h5>
<h6>Almost Alpha Note: Permissions are not yet implemented.</h6>
<h6>Release Note: Must support the notion of user profiles accessible from this
    tab</h6>

<form method="post" action="plugin/base/cms/stage2/submit.php" id="stage1">
    <div class="input-box">
        <label>Username:</label>
        <input type="text" name="uname" />
    </div>
    <div class="input-box">
        <label>Permission Level</label>
        <select name="permission">
            <option value="admin">Administrator</option>
            <option value="user">Content Contributer</option>
            <option value="confirm">Administrator Confirmation Required</option>
        </select>
    </div>
    <div class="input-box">
        <label>Password:</label>
        <input type="password" name="pass" />
    </div>

    <div class="input-box">
        <label>Confirm Password</label>
        <input type="password" name="pass2" />
    </div>

    <div class="submit">
        <input type="submit" value="Submit" />
    </div>
</form>